package com.example.demo.vo.remark;

import lombok.Data;

@Data
public class RemarkInfoVO {
    private int reid;
    private int uid;
    private int rid;
    private int score;
    private String explanation;
    public RemarkInfoVO(){}

    public RemarkInfoVO(int score, String explanation,int uid, int rid) {
        this.uid = uid;
        this.rid = rid;
        this.score = score;
        this.explanation = explanation;
    }

    public RemarkInfoVO(RemarkVO remarkVO) {
        this.reid =remarkVO.getReid();
        this.score = remarkVO.getScore();
        this.explanation = remarkVO.getExplanation();
    }
}
